﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZFine.Domain.Entity.Gas
{
    public class ResidentEntity : IEntity<ResidentEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
    {
        /// <summary>
        /// 姓名
        /// </summary>
        public string RName { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string IDNumber { get; set; }
        /// <summary>
        /// 是否完成人脸识别
        /// </summary>
        public bool FaceRecognize { get; set; }
        /// <summary>
        /// 完成人脸识别时间
        /// </summary>
        public DateTime FaceRecognizeTime { get; set; }
        /// <summary>
        /// 电话号码
        /// </summary>
        public string telephone { get; set; }
        /// <summary>
        /// 住址
        /// </summary>
        public string address { get; set; }
        /// <summary>
        /// 电话号码2
        /// </summary>
        public string telephone2 { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string sex { get; set; }
        /// <summary>
        /// 证件类型
        /// </summary>
        public string CardType { get; set; }

        /// <summary>
        /// 人脸数据 目前存储的是地址
        /// </summary>
        public string FaceData { get; set; }
        /// <summary>
        /// 所属餐厅
        /// </summary>
        public string CanteenId { get; set; }


        public string F_Id { get; set; }
        public string F_CreatorUserId { get; set; }
        public DateTime? F_CreatorTime { get; set; }
        public bool? F_DeleteMark { get; set; }
        public string F_DeleteUserId { get; set; }
        public DateTime? F_DeleteTime { get; set; }
        public DateTime? F_LastModifyTime { get; set; }
        public string F_LastModifyUserId { get; set; }
        public string DiningRecordCount { get; set; }
    }
}
